enum Gender {
    Male,
    Female = 1
}

let user: { name: string, sex: Gender }
user = {
    name: "swk",
    sex: Gender.Female
}

//{name: 'swk', sex: 1}
// name: "swk"
// sex: 1
console.log(user);

